* {
  margin: 0;
  padding: 0;
}

.gameContainer {
  width: 400px;
  height: 600px;
  position: relative;
  left: 0;
  margin: auto;
  border: 3px solid #bfa;
  overflow: hidden;
}

#main {
  width: 400px;
  height: 900px;
  top: -150px;
  position: relative;
}

#score {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 23px;
  z-index: 1;
}

.start,
.end {
  width: 400px;
  height: 600px;
  background-color: rgb(0, 0, 0, .3);
  position: absolute;
  top: 0;
}

.start p,
.end p {
  color: #fff;
  line-height: 35px;
  font-size: 35px;
  position: absolute;
  top: 200px;
  left: 120px;
}

.start span,
.end span {
  display: block;
  width: 100px;
  height: 50px;
  font-size: 20px;
  text-align: center;
  line-height: 50px;
  position: absolute;
  top: 300px;
  left: 150px;
  background-color: #6cd966;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.end h3 {
  color: #fff;
  line-height: 35px;
  font-size: 35px;
  position: absolute;
  top: 250px;
  left: 140px;
}

.row {
  width: 400px;
  height: 150px;
}

.block {
  width: 98px;
  height: 148px;
  background-color: #fff;
  border: 1px solid #000;
  float: left;
}

.black {
  width: 98px;
  height: 148px;
  border: 1px solid #000;
  float: left;
  background-color: #000;
  cursor: pointer;
  background-image: url(./02.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -57px 0;
}